package cn.zzf.mapper;

import cn.zzf.po.TeacherLesson;
import cn.zzf.po.TeacherLessonExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TeacherLessonMapper {
    long countByExample(TeacherLessonExample example);

    int deleteByExample(TeacherLessonExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TeacherLesson record);

    int insertSelective(TeacherLesson record);

    List<TeacherLesson> selectByExample(TeacherLessonExample example);

    TeacherLesson selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TeacherLesson record, @Param("example") TeacherLessonExample example);

    int updateByExample(@Param("record") TeacherLesson record, @Param("example") TeacherLessonExample example);

    int updateByPrimaryKeySelective(TeacherLesson record);

    int updateByPrimaryKey(TeacherLesson record);

    List<TeacherLesson> selectAll();
}